package com.cxyjy.travelguide.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxyjy.common.core.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @Author: jony
 * @Date : 2025/9/4 12:38
 * @VERSION v1.0
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "external_artifact")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExternalArtifactDO extends BaseDO {

    // 显式指定主键 + 自增策略
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String code;

    private String name;
}
